from django.urls import path
from books.views import home
from rest_framework.routers import DefaultRouter,SimpleRouter

urlpatterns = [
     path('home/',home.BookInfoViewSet.as_view()),
     path('homeModel/', home.BookInfoViewSet1.as_view()),

]
# router = DefaultRouter()
# router.register(
#     'books', home.BookInfoViewSet
# )
# urlpatterns += router.urls

